<?php
require_once('wpfunctions.php');
ip_redirectIfNotLoggedIn()
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><title>Illuminare Text Editor</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="style2.css" />
<link type="text/css" href="css/smoothness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.10.3.min.js"></script>
<script src="js/jquery.autosize-min.js"></script>
<script src="syllabify.js" async></script>
<script src="texts.js"></script>
</head>
<body>
<div class='body'>
<div>
  <a href='texts.php'><img alt="Illuminare Engraver" src="logo/text-editor.png" height="35" width="360" style="margin:0.5em 0;max-width:50%;height:auto"/></a>
  <a href='./'><img src="logo/Home_Icon.svg" style="width: 27px;float:right;margin-top:0.5em"></a>
  <a href='logout.php' style="float:right;font-family:sans-serif;margin:0.75em 2em">Log out</a>
</div>
<div style='margin-bottom:5px;margin-top:0.5em' class='sans'><label for='txtLoad'>Open </label><input type='text' id='txtLoad' style='width:491px' /></div>
<div class="lnkBtn sans">
<a href="#" title="&lt;Ctrl>+S" id="lnkSave">Save<span id='sFileName'></span></a>
&nbsp;&nbsp;<span id="notification"></span>
&nbsp;&nbsp;<a href="#" id="lnkSyllabify">Syllabify Text</a>
<a style="float:right" href="#" id="lnkClearEditor">Clear Editor</a>
</div>
<div id="templateFields" class="sans" style="clear:both"></div>
<div class="tap"><textarea id="editor" spellcheck="false" name="text"></textarea></div>
<div id="notifications" class="notifications sans"></div>
</div>
<div id="notifications" class="notifications sans"></div>
<div id="overlay" style="display:none;"></div>
</body>
</html>
